package com.aaron.test.singleton.lazy;

public class LazySingletonInn {
	
	//在类加载时，初始化类的静态成员变量在方法区
	private static class innerClass{
		public static final LazySingletonInn instance = new LazySingletonInn();
	}
	
	private LazySingletonInn(){
		System.out.println("call the private LazySingletoninn constructor... ");
	};
	
	public static LazySingletonInn getInstance(){
		return innerClass.instance;
	}
	
	
}
